WCPay\Internal\Service\OrderService S

Total Complexity 33
Dependencies 14
Dependents 9
Total lines 463
Lines of code 197
Logical lines of code 85
Comment lines 205
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
get_payment_metadata()
S
49 6 28
update_order_from_successful_intent()
S
51 4 28
attach_exchange_info_to_order()
S
54 4 21
get_order()
S
60 2 15
add_rate_limiter_note()
S
53 1 25
get_intent_id()
S
66 2 8
update_order_from_intent_that_requires_action()
S
62 1 13
set_mode()
S
73 1 5
get_mode()
S
75 1 4
import_order_data_to_payment_context()
S
64 1 9
_deprecated_get_order()
S
80 1 3
get_cart_hash()
S
76 1 4
get_customer_id()
S
80 1 3
is_paid()
S
72 1 6
is_pending()
S
72 1 6
is_valid_phone_number()
S
75 1 4
add_note()
S
80 1 3
set_payment_method_id()
S
80 1 3
delete()
S
80 1 3
__construct()
S
71 1 6